use crate::interfaces;
use interfaces::TaskInterface::TaskInterface;

pub struct Failure {
    pub _signature: &'static str,
}

impl TaskInterface for Failure {
    fn run(&self) -> Result<(), (&'static str, i32)> {
        return Err(("[!] Fail on purpose.", 1));
    }
    fn signature(&self) -> &str { return self._signature; }
}
